package com.yuandian.business.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.business_monitor.po.AlarmParams;
import com.yuandian.api.business_monitor.vo.BusiDetailExcelVo;
import com.yuandian.api.business_monitor.vo.BusiDetailStatAlarmVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 详单分钟/小时统计表 Mapper 接口
 * </p>
 *
 * @author fucx
 * @since 2020-11-10
 */
@Mapper
public interface BusiDetailStatMapper extends BaseMapper<BusiDetailStatAlarmVo> {

	/**
	 * 业务监控-告警业务查询-告警业务分页查询
	 *
	 * @param page
	 * @param params
	 * @return
	 */
	List<BusiDetailStatAlarmVo> queryBusiDetail(Page<BusiDetailStatAlarmVo> page, @Param("params") AlarmParams params);

	/**
	 * 业务监控-告警业务查询-告警业务导出excel查询
	 *
	 * @param params
	 * @return
	 */
	List<BusiDetailExcelVo> queryBusiDetailExcelVo(@Param("params")AlarmParams params);
}
